.gpis-searchfield-width {
  width: 400px;
}

.gpis-searchdrpfield-width {
  width: 600px;
  padding-left: 12px;
  padding-right: 12px;
}

.nameExist {
  background-color: palevioletred;
}

.nameNotExist {
  background-color: palegreen;
}

.gpis-panel {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.gpis-textarea-style {
  resize: none;
  outline: transparent;
  border: none;
}

.gpis-field-head {
  padding-bottom: 5px;
  padding-top: 3px;
  border-bottom: 1px solid #ddd;
  font-weight: 700;
}

.gpis-field-row {
  padding: 2px;
}

.gpis-form-row {
  padding: 2px;
}

.gpis-pictures-label-area {
  text-align: center;
  white-space: pre-wrap;
  overflow: auto
}

.gpis-instruction-pictures {
  -webkit-box-shadow: 2px 2px 9px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 2px 2px 9px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 2px 2px 9px 0px rgba(0, 0, 0, 0.75);
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.gpis-rowdivider {
  border-bottom: 1px solid #ddd;
  padding-top: 4px;
  padding-bottom: 4px;
}

.gpis-field-row:hover:nth-child(odd) {
  background-color: #cccccc;
}

.gpis-field-row:hover:nth-child(even) {
  background-color: #cccccc;
}

.gpis-field-row:nth-child(odd) {
  background-color: #fff;
}

.gpis-validationcolor-exclamation-circle {
  color: red;
}

.gpis-validationcolor-exclamation-triangle {
  color: darkgoldenrod;
}

.gpis-validationcolor-check {
  color: green;
}

.gpis-text-center {
  text-align: center;
}

.gpis-text-right {
  text-align: right;
}

.gpis-dialog-max-height {
  overflow: auto;
  max-height: 800px;
}

.gpis-radio {
  width: 15px;
  height: 15px;
}


/*Fade in out*/

@keyframes gpis-fadeinout {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@-o-keyframes gpis-fadeinout {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@-moz-keyframes gpis-fadeinout {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@-webkit-keyframes gpis-fadeinout {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.gpis-fadeelement {
  -webkit-animation: gpis-fadeinout 10s infinite;
  -moz-animation: gpis-fadeinout 10s infinite;
  -o-animation: gpis-fadeinout 10s infinite;
  animation: gpis-fadeinout 10s infinite;
}


/*---------------------------- */


/* gpis search type ahaed list */


/*---------------------------- */

.gpis-search-ahead-row {
  background-color: #fff;
}

  .gpis-search-ahead-row:hover:nth-child(odd) {
    background-color: #dfdfdf;
  }

  .gpis-search-ahead-row:hover:nth-child(even) {
    background-color: #dfdfdf;
  }

  .gpis-search-ahead-row:nth-child(odd) {
    background-color: #f9f9f9;
  }


/*Dialog*/

.gpis-search-dialouge-content {
  height: 550px;
  max-height: 550px;
  overflow: auto;
  cursor: pointer;
}

.gpis-searchmtrl-dialouge-content {
  height: 450px;
  max-height: 450px;
  overflow: auto;
  cursor: pointer;
}

.gpis-searchpart-dialouge-content {
  height: 450px;
  max-height: 450px;
  overflow: auto;
  cursor: pointer;
}

.gpis-search-dialouge-body {
  height: 650px;
  max-height: 650px;
}

.gpis-search_dialouge-searchfield {
  /*width: 500px;*/
}

.modal.show {
  opacity: 1 !important;
}


/*Override bootstrap dialog */

.modal-dialog.modal-lg {
  margin: 30px 10vw !important;
}

.modal-dialog.modal-sm {
  margin: 30px calc(50% - 300px) !important;
}

.modal-dialog.modal-lg > .modal-content {
  width: 80vw !important;
  max-height: 80vw !important;
}

.modal-dialog.modal-sm > .modal-content {
  width: 600px !important;
  max-width: 600px !important;
}

.modal-dialog.modal-sm {
  width: 600px !important;
  max-height: 80% !important;
}

.modal-dialog {
  width: 800px !important;
  max-height: 80% !important;
}

.modal-lg-content {
  max-height: 80% !important;
  overflow: auto;
}

.modal .modal-title {
  margin-left: 2rem;
}

.modal .modal-content .modal-header {
  -webkit-justify-content: normal !important;
  justify-content: normal !important;
}


/*Override ngb datepicker */

ngb-datepicker.d-inline-block.rounded.dropdown-menu {
  display: block;
}

ngb-datepicker,
ngb-datepicker.ngb-dp-months.ngb-dp-month {
  width: 20rem;
}

.ngb-dp-weekday:not(:last-child),
.ngb-dp-week .ngb-dp-day:not(:last-child) {
  float: left !important;
  margin-right: 0.5rem !important;
  text-align: center;
  width: 2rem;
}

.ngb-dp-month.d-block {
  padding-left: 1.5rem;
  white-space: nowrap;
}

ngb-datepicker .bg-primary {
  color: black;
  background-color: lightgray;
}

ngb-datepicker-navigation-select select.custom-select {
  width: 6rem;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
  border-radius: 0% !important;
}

.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: hidden;
  outline: 0;
}

  .modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out, -o-transform 0.3s ease-out;
    -webkit-transform: translate(0, -25%);
    -o-transform: translate(0, -25%);
    transform: translate(0, -25%);
  }

  .modal.show .modal-dialog {
    -webkit-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
  }

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}

.modal-content {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000;
}

  .modal-backdrop.fade {
    opacity: 0;
  }

  .modal-backdrop.show {
    opacity: 0.5;
  }

.modal-header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #eceeef;
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
}

.modal-body {
  position: relative;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 15px;
}

.modal-footer {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 15px;
  border-top: 1px solid #eceeef;
}

  .modal-footer > :not(:first-child) {
    margin-left: .25rem;
  }

  .modal-footer > :not(:last-child) {
    margin-right: .25rem;
  }

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 30px auto;
  }

  .modal-sm {
    max-width: 300px;
  }
}

@media (min-width: 992px) {
  .modal-lg {
    max-width: 800px;
  }
}

.customErrMsgClass {
  color: black;
  font-style: italic;
}

.customTitleClass {
  color: red;
  font-size: 1.2em;
  font-style: italic;
}

.wam-login {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999999;
  background-color: white;
}

  .wam-login iframe {
    width: 100%;
    height: 100%;
  }

div > img {
  width: auto;
  height: auto;
  max-height: 100%;
  max-width: 100%;
}


/*Image component*/

.imagelistplaceholder {
   height: 175px;
    max-height: 175px;
  min-height: 175px;
  margin-left: auto;
  margin-right: auto;
}

.imagelistplaceholderforPreview {
  height: 50px;
  max-height: 50px;
  max-height: 80%;
  min-height: 20px;
  margin-left: auto;
  margin-right: auto;
}

.removeimagelistplaceholder {
  height: 300px;
  max-height: 300px;
  min-height: 300px;
  overflow-y: scroll;
  overflow-x: hidden;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.imagelistlabelplaceholder {
  padding: 5px;
  margin-top: 5px;
  height: 80px;
  max-height: 80px;
  min-height: 80px;
  overflow-y: auto;
  overflow-x: auto;
}

.imagelistlabelitem {
  list-style: none;
  color: #FFFFFF;
  padding: 4px;
  background-color: #5bc0de;
  margin-bottom: 3px
}

.imagelistcontrolcenter {
  text-align: center;
  margin-top: 5px;
}

.hiddeninput {
  visibility: hidden;
  width: 1px;
}

.imagelistitem {
  height: 350px;
  max-height: 350px;
  min-height: 350px
}

.imagelistitemforPreview {
  height: 50px;
  max-height: 50px;
  min-height: 50px;
  width: 50px;
  max-width: 50px;
  min-width: 50px;
}

.gpis-inner {
  text-align: left;
  vertical-align: middle;
}

.gpis-outer {
  margin: auto;
  width: 98%;
  padding: 1px;
}


/*Sort and filter bar*/

.filterbar {
  background-color: white;
}

.filterbar-nav-prevnext {
  border-left: #CCCCCC 1px solid;
  border-right: #CCCCCC 1px solid;
  vertical-align: middle;
  text-align: center;
  width: 85px;
}

.filterbar-nextprev-active {
  color: steelblue;
  cursor: pointer;
}

.filterbar-nextprev-inactive {
  color: #CECECE;
  cursor: no-drop;
}

.filterbar-filter-area {
  text-align: left;
  white-space: nowrap;
}

.sort-field-header {
  cursor: pointer;
  white-space: nowrap;
}

.filterbar-infotext {
  vertical-align: middle;
  text-align: center;
}

.filterbar-keep-div-inline {
  display: inline-block;
}

.fa.icon-alert-color {
  color: orange;
}
